package edu.zut.software.identity.Service;

import edu.zut.software.identity.domain.StuMajor;
import edu.zut.software.identity.domain.TeaCollege;
import edu.zut.software.identity.domain.Teacher;
import org.springframework.data.domain.Page;

import java.util.List;

public interface TeaCollegeService {
    TeaCollege findById(String id);
    List<TeaCollege> findAll();
    void deleteById(String  id);
    void save(TeaCollege teaCollege);
    int getId(String collegeId);
    Page<TeaCollege> findAll(Integer page, Integer pageSize);
    boolean isExists(String id);
}
